package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务人员
 * Created by KGL on 2015/12/4.
 */
@Data
@Table(tableName = "employee")
public class EmployeeEntity extends MagicDBEntity<EmployeeEntity> implements Serializable {

    private static final long serialVersionUID = -8451062790029150144L;
    @PrimaryKey
    private long id;
    @Column
    private long merchantId;
    @Column
    private String name;
    @Column
    private String idCard;
    @Column
    private String phone;
    @Column
    private String idCardPid;
    @Column
    private String bankName;
    @Column
    private String bankCardName;
    @Column
    private String bankCardCode;
    @Column
    private String pid;
    @Column
    private int workExperience;
    @Column
    private String healthCertificatePid;
    @Column
    private int state;
    @Column
    private Date createTime;
}
